define(["jquery","bootstrap",'scprit/patientsQuestionnaire/vm/common.js'],function($,bootatrap,$common){
	var patientsQuestionnaire = {};
	var defaults = {};
	patientsQuestionnaire.init = function(){
		//默认加载 -- 同意书界面：
		defaults.url = "page/patientsQuestionnaire/html/letterOfAgreement.html";
		defaults.title = "";
		$common.getHtml(defaults);
		$(".navbar").on("click","#logout",function(){
			window.location.href = 'patientsLogin.html';
			localStorage.removeItem("patientInfo");
		});
	};
	return patientsQuestionnaire;
});